<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			input{
				padding-left:10px;
				width:100px;
			}
		</style>
	</head>
	<body>
		<input type="text" id="test1" placeholder="请选择开始时间">
	</body>

	<script src="laydate/laydate.js"></script>
	<script>
		
		laydate.render({
			elem: '#test1',
			type: 'month',
			value: new Date(),
			format: 'yyyy 年 MM 月',
			max:new Date().getFullYear() +'-'+ (new Date().getMonth())+'-'+new Date().getDate(),
		});
	</script>
</html>
